<?php
require_once 'menu.php';
require_once 'Clases/ubicacion.php';
require_once 'Clases/funciones.php';
require_once 'Clases/modelo.php';
require_once 'Clases/tipoPago.php';
?>
<html>


    <head>


    </head>

    <body>


        <div id="area" class="contenido"> 

            <h1 align="center" style="color: black; align:center">Agregar Servicio</h1>

            <form name="form_agregar_servicio" method="post" action="Procesa_Datos.php" >
                <table  style="width: 80%; margin-left: auto; margin-right: auto;" class="cffree " >
                    <tr>
                        <td colspan="2">
                            <p style="text-align:center">Los Campos Marcados Con <span class="required_star"> *  </span> Son Obligatorios.</p>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" class="cffree_td">
                            <label for="Full_Name" class="required">Id Servicio<span class="required_star"> * </span></label>
                        </td>
                        <td valign="top" class="cffree_td">
                            <input type="text" name="id_servicio" id="Full_Name" maxlength="80" style="width:250px">
                        </td>
                    </tr>
                    <tr>
                        <td width="111"><span class="aa">Tipo Pago</span></td>
                        <td width="132"><span class="aa">
                                <select name="tipoPago" type="text" onChange="Pagos();"  id="tipoPago" style="font-family:Georgia, 'Times New Roman', Times, serif;font-size:16px" >
                                    <option value="-1">Seleccione</option>
                                    <?php
                                    $tipo = new tipoPago("", "");
                                    $funcion = new funciones();

                                    $resultado = $tipo->Buscar();

                                    echo $funcion->llenarCombo($resultado);
                                    ?>
                                </select>
                            </span></td>
                        <td width="134"><span class="aa">
                                <input name="fechaPago" type="date" id="fechaPago" size="15" maxlength="13" style="visibility:hidden" placeholder="Identidad"/>
                            </span></td>
                    </tr>
                    <tr>
                        <td valign="top" class="cffree_td">
                            <label class="required">nombre<span class="required_star"> * </span></label>
                        </td>
                        <td valign="top" class="cffree_td">
                            <input type="text" name="nombre" id="Full_Name" maxlength="80" style="width:250px">

                        </td>
                    </tr>

                    <tr>
                        <td valign="top" class="cffree_td">
                            <label class="required">Monto<span class="required_star"> * </span></label>
                        </td>
                        <td valign="top" class="cffree_td">
                            <input type="text" name="monto" id="Telephone_Number" maxlength="100" style="width:250px">
                        </td>
                    </tr>




                    <td colspan="2"  style="text-align:center"  class="cffree_td">
                       
                        <input type="submit" name="boton" value="Guardar_Servicio"> 

                    </td>




                    </tr>
                </table>
            </form>


            <?php
            ?>
        </div>
    </body>
</html>